<script type="text/javascript" src="${base}/template/shop/js/header.js"></script>
<link href="${base}/template/shop/css/header.css" rel="stylesheet" type="text/css" />
<!--下拉-->
<script type="text/javascript">
	$(function(){
		$('li.listdown').hover(function(){
			$(this).addClass("nav_current").find('.all').siblings('.xmzs0').stop().slideDown(200);
		},function(){
			$(this).removeClass("nav_current").find('.all').siblings('.xmzs0').stop().slideUp(200);
		});
	});
</script>
<div class="header png head_onther">
	<div class="headerTop png">
		<div class="headerTopContent">
			<div class="headerLoginInfo">
				<%if(customerType=="b_customer"){%>
					您好<span id="headerLoginMemberUsername"></span>，欢迎来到${shopName!}!
				<%}else{%>
                	您好<span id="headerLoginMemberUsername"></span>，欢迎来到${systemConfig.shopName!}!
				<%}%>
				<a href="#" id="headerShowLoginWindow" class="showLoginWindow a_login white">登录</a>
				<a href="${base}/customerCenter" id="headerMemberCenter">[会员中心]</a>丨
				<a href="#" id="headerShowRegisterWindow" class="showRegisterWindow">注册</a>
				<a href="${base}/customerCenter/logout" id="headerLogout">[退  出]</a>
			</div>
			<div class="headerTopNav">
                <%if(customerType=="b_customer"){%>
					<%for(list in businessTopNavigationList!){%>
						<a href="${base}${list.url}" <%if (list.isBlankTarget == true){%> target="_blank"<%}%>>${list.name!}</a>
					<%if (!listLP.last){%>|<%}%>
                	<%}%>
                <%}else{%>
					<%for(list in topNavigationList!){%>
						<a href="${base}${list.url}" <%if (list.isBlankTarget == true){%> target="_blank"<%}%>>${list.name!}</a>
					<%if (!listLP.last){%>|<%}%>
					<%}%>
                <%}%>
				<div class="tel">
					<span class="textel">售后热线:</span>
                    <%if(customerType=="b_customer"){%>
						<span class="tel_num"><strong>${phone!}</strong></span>
					<%}else{%>
                    	<span class="tel_num"><strong>${systemConfig.phone!}</strong></span>
					<%}%>
				</div>
			</div>
		</div>
	</div>
	<div class="headerMiddle">
		<div class="headerLogo">
            <%if(customerType=="b_customer"){%>
				<a href="${base}/${shopAlias!}/index.html"><img class="png" src="${base}${logoUrl!}" title="${shopName!}" style="max-width: 150px"/></a>
			<%}else{%>
            	<a href="${base}/"><img class="png" src="${base}${systemConfig.shopLogo!}" title="${siteConfig.shopName!}" style="max-width: 150px"/></a>
			<%}%>
		</div>
		<div class="headerSearch png">
			<div class="gray6">
    			<span class="qg f12">全国联保</span>
    			<span class="day15 f12">15天无理由退货</span>
    			<span class="day45 f12">45天无理由换货</span>
    		</div>
			<form id="productSearchForm" action="${base}/shop/product/search" method="get">
				<div class="headerSearchText">
					<input type="text" id="productSearchKeyword" name="keyword" value="<%if (keyword! != null && rootProductCategoryList != null){%>${keyword!}<%}else{%>请输入关键词...<%}%>"}" />
				</div>
				<input type="submit" class="headerSearchButton" value="搜索" />
			</form>
		</div>
	</div>
	<div class="nav_chang">
		<div class="headerBottom">
			<input type="button" class="cartItemListButton showCartItemList" value="购物车" onclick="window.open('${base}/b/cartItem/list?shopId=${shopId!}')" />
			<ul id="cartItemListDetail"></ul>
			<div class="headerMiddleNav">
				<ul class="headerMiddleNavContent png">
					<li>
                        <%if(customerType=="b_customer"){%>
							<a href="${base}/${shopAlias!}/index.html">首页</a>
						<%}else{%>
                        <a href="${base}/">首页</a>
						<%}%>
					</li>
					<li class="listdown">
						<a class="all">全部商品<span class="spot">∨</span></a>
						<div class="xmzs0 other_nav">
							<div class="xm1">
								<p><a href="/shop/product/list?id=c5910cfe886244c9b23bd0234d946c3e&viewType=pictureType&pageNumber=1&orderType=priceAsc&pageSize=12"><img src="${base}/upload/image/banner15.jpg"/></a></p>
								<h3>美大集成灶</h3>
							</div>
							<div class="xm1">
								<p><a href="/shop/product/list?id=0e3d1018956045ea8588796d321f7317"><img src="${base}/upload/image/banner16.jpg"/></a></p>
								<h3>美大净水机</h3>
							</div>
							<div class="xm1">
								<p><a href="/shop/product/list?id=2dcf75f487de4c7ea62bc181a0c28662"><img src="${base}/upload/image/banner17.jpg"/></a></p>
								<h3>美大烤箱/蒸箱</h3>
							</div>
						</div>
					</li>
                    <%if(customerType=="b_customer"){%>
						<%for(list in businessMiddleNavigationList){%>
							<li>
								<a href="${base}${list.url}"<%if (list.isBlankTarget == true){%> target="_blank"<%}%>>${list.name}</a>
							</li>
						<%}%>
                    <%}else{%>
						<%for(list in middleNavigationList){%>
							<li>
								<a href="${base}${list.url}"<%if (list.isBlankTarget == true){%> target="_blank"<%}%>>${list.name}</a>
							</li>
						<%}%>
                    <%}%>

				</ul>
			</div>
		</div>
	</div>
</div>